package olegroshka.src.com.bofa.olegroshka.datasource;

public class ReportDataProvider {
	
	private final DataSource<Object[]>  headerDataSource;
	private final DataSource<Object[]>  bodyDataSource;
	private final DataSource<Object[]>  footerDataSource;
	
	public ReportDataProvider(
			DataSource<Object[]> headerDataSource,
			DataSource<Object[]> bodyDataSource,
			DataSource<Object[]> footerDataSource) {
		this.headerDataSource = headerDataSource;
		this.bodyDataSource = bodyDataSource;
		this.footerDataSource = footerDataSource;
	}

	public DataSource<Object[]> getHeaderDataSource() {
		return headerDataSource;
	}

	public DataSource<Object[]> getBodyDataSource() {
		return bodyDataSource;
	}

	public DataSource<Object[]> getFooterDataSource() {
		return footerDataSource;
	}
		
	
}
